package com.ourway.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 部门同步信息表
 *
 * @author liuweiheng
 * @since 2021/12/12
 */
@TableName("feishu_department_sync")
@Data
@Accessors(chain = true)
@Builder
public class FeiShuDepartmentSync implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("department_id")
    private String departmentId;

    @TableField("feishu_department_id")
    private String feishuDepartmentId;

    @TableField("feishu_open_department_id")
    private String feishuOpenDepartmentId;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;
}
